<?php
class PostModel extends Model{
	public function __construct()
	{
		parent::__construct();
		$this->tableName = "posts";
		$this->formMapping = array(
			'pid' => 'pid',
			'author_id' => 'author_id',
			'forum_id' => 'forum_id',
			'title' => 'title',
			'text' => 'text',
			'pageview' => 'pageview',
			'reply_number' => 'reply_number',
			'recent_reply_id' => 'recent_reply_id',
			'time' => 'time'
			);
	}
};
?>

